<!DOCTYPE html> 
<html> 
<head>  
    <!--META-->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=0.75">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">

    <!--CSS-->
    <link rel="stylesheet" href="API/css/themes/default/jquery.mobile.min.css" />
    <link rel="stylesheet" href="API/css/themes/default/jquery.mobile.structure.min.css" />
    <link rel="stylesheet" href="API/css/themes/default/jquery.mobile.theme.min.css" />
    <link rel="stylesheet" href="API/css/mycss.css" />
    <link rel="stylesheet" href="css/mycss.css" />

    <!--JS-->
    <script type="text/javascript" src="API/js/jquery.min.js"></script>
    <script type="text/javascript" src="API/js/jquery.mobile.min.js"></script>
    <!--<script type="text/javascript" src="API/js/highcharts.js"></script>-->
    <!--<script type="text/javascript" src="API/js/modules/exporting.js"></script>-->
    <!--<script type="text/javascript" src="API/js/jquery.dataTables.min.js"></script>-->
    <script type="text/javascript" src="include/config.js"></script>
    <script type="text/javascript" src="API/js/fonctions.js"></script>
    <script type="text/javascript" src="js/fonctions.js"></script>

    <script language="javascript" type="text/javascript">
    checkMaintenance();
    checkAuthentification();
	
		///////////////////
		//BLOCK VARIABLE GLOBAL
		///////////////////
		var id_page = 8;
	
		///////////////////
		//BLOCK FONCTIONS EVENEMENTS
		///////////////////
        
		$(document).on('pageinit',function() {
		    try {
				// Init commun
				init_commun();

				// Init page
				if(tabInfoLogin[0][3] == '1'){
					str = "";
					str += "<a href=\"API/scriptphp/download.php?milis=123456789&fic=../../outils/page_bot_scan_automate.zip\" target=\"_new\"><img src=\"img/zip_icon.jpg\" border=0 /></a><br />";
					str += "<p class=\"sansserif\">page_bot_scan_automate.zip</p>";
					str += "<p class=\"sansserif\">Page pour lancer les scans Automate</p>";
					
					divScriptBot.innerHTML = str;
					
					str = "";
					str += "<a href=\"API/scriptphp/download.php?milis=123456789&fic=../../outils/page_script_outils.zip\" target=\"_new\"><img src=\"img/zip_icon.jpg\" border=0 /></a><br />";
					str += "<p class=\"sansserif\">page_script_outils.zip</p>";
					str += "<p class=\"sansserif\">Page de script local pour outillage</p>";
					
					divScriptOutillage.innerHTML = str;
				}
            }
            catch (er) {
                log(0, "ERROR(init_download):" + er.message);
            }
        });
		
		$(document).on('pageshow',function() {
			try {
				show_commun();
			}
			catch (er) {
				log(0, "ERROR(show):" + er.message);
			}
		});
		
		///////////////////
		//BLOCK FONCTIONS METIER
		///////////////////

        function AfficherExpi(p_idtoc) {
            try {
                //1201836870
                var strRetour = "";

                strRetour = AfficherExpiration(p_idtoc);

                divAfficherExpiration.innerHTML = "<p class=\"sansserif\">" + strRetour + "</p>";
            }
            catch (er) {
                log(0, "ERROR(AfficherExpi):" + er.message);
            }
        }
		
		///////////////////
		//BLOCK FONCTIONS BD
		///////////////////
		
		
		///////////////////
		//BLOCK FONCTIONS AFFICHAGE
		///////////////////
		
    </script>
	
  </head>
  <body>
    
	<!-- page -->
	<div data-role="page" data-title="Titre">
	
		<!-- /panel -->
		<div data-role="panel" id="mypanel" data-display="overlay" data-position="left">

		</div>
		<!-- /panel -->
	
		<!-- header -->
		<div data-role="header" data-position="fixed">
			<a href="#mypanel" data-role="button" data-icon="home" data-iconpos="notext">home</a>
			<h1 id="id_titre">titre</h1>
			<a href="javascript:window.location = ('./page_contact.html?mili='+getMilise());" data-role="button" data-icon="info" data-iconpos="notext">Contact</a>
		</div>
		<!-- /header -->

		<!-- content -->
		<div data-role="content" id="main_content">
		
			<div data-role="collapsible" data-collapsed="false" data-mini="true">
				<h3>Formulaire d'int&eacute;rogation pour les tickets</h3>
				<FORM method="post" id="formulaire" action="#">
					<span class="sansserif">Id ticket :</span>
					<input type="text" id="idtoc" name="idtoc" />
					<a class="sansserif" href="javascript:AfficherExpi(document.forms.formulaire.idtoc.value);">Afficher</a>
					<label id="divAfficherExpiration"></label>
				</FORM>
			</div>
		
			<div data-role="collapsible" data-collapsed="false" data-mini="true">
				<h3>El&eacute;ments t&eacute;l&eacute;chargeables</h3>
				<a href="API/scriptphp/download.php?milis=123456789&fic=../../outils/start_kit.zip" target="_new"><img src="img/zip_icon.jpg" border=0 /></a><br />
				<p class="sansserif">start_kit.zip</p>
				<p class="sansserif">Kit de d&eacute;part pour le Lot 2</p>
				<div id="divScriptBot"></div>
				<div id="divScriptOutillage"></div>
			</div>
		</div>
		<!-- /content -->
		
		<!-- footer -->
		<div data-role="footer" data-position="fixed">
			<a data-role="button" data-icon="search" data-iconpos="notext" class="ui-btn-left" href="javascript:window.location = ('./page_faq.html?mili='+getMilise());">FAQ</a>
			<h1 id="id_affichageUser">User</h1>
			<a data-role="button" data-icon="delete" data-iconpos="notext" class="ui-btn-right" href="javascript:window.location = ('./page_sortie.html?mili='+getMilise());">Logout</a>
		</div>
		<!-- /footer -->
		
	</div>
	<!-- /page -->
  </body>
</html>